<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
        <h1 th:text="${error.message}"></h1>
        <div th:text="${error.data}"></div>
</body>
</html>